#include <cstdio>
#include <iostream>
#include <vector>
#include <algorithm>
#include "base_on_server.h"
using namespace BaseOnServer;
using namespace std;
int main(int argc, char const *argv[])
{
    vector<u32> d{1,2,3,4};
    Set s(d);
    Set pos ,pick;
    u32 n =3;
    while (s.next_pick(n,pos.data,pick.data))
    {
        for(auto i : pick.data){
            cout << i <<" ";
        }
        cout << endl;
    }
    
    return 0;
}
